package semantic;

public class Symbol{
	private int Depth;
	private String Name;
	private Attribute Attr;
	private Symbol Var;
	private Symbol Next;
	private List Level;
	
	public Symbol(String name,Attribute attr){
		Name = name;
		Attr = attr;
		Next = null;
		Var = null;
	}
	public Attribute getAttr(){
		return Attr;
	}
	public Symbol getNext(){
		return Next;
	}
	public String getName(){
		return Name;
	}
	public Symbol getVar(){
		return Var;
	}
	public int getDepth(){
		return Depth;
	}
	public List getLevel(){
		return Level;
	}
	public void setAttr(Attribute a){
		Attr = a;
	}
	public void setNext(Symbol sym){
		Next = sym;
	}
	public void setLevel(List l){
		Level = l;
	}
	public void setDepth(int d){
		Depth = d;
	}
	public void setVar(Symbol sym){
		Var = sym;
	}
}